Flip-flop having shared feedback and method of operation

ABSTRACT

A method of operating a circuit includes receiving a first data signal at a first node. The first node is coupled to a second node to couple the first data signal to the second node. After coupling the first node to the second node, an inversion is enabled from the second node to a third node. An inversion from the third node to the fourth node is provided. After the enabling the inversion from the second node to the third node, the first node is decoupled from the second node. After the enabling the inversion from the second node to the third node, the second node is coupled to the third node. An inversion from the fourth node to the third node is enabled and the second node is decoupled from the fourth node.

RELATED APPLICATION

This is a continuation-in-part of U.S. patent application Ser. No. 12/607,574, filed on Oct. 28, 2009, entitled “FLIP-FLOP HAVING SHARED FEEDBACK AND METHOD OF OPERATION,” naming Ravindraraj Ramaraju and Prashant Kenkare as inventors, and assigned to the current assignee hereof.

BACKGROUND

1. Field

This disclosure relates generally to flip flops, and more specifically, to flip flops having shared feedback.

2. Related Art

Flip flops are commonly used for data storage in a variety of different applications. For example, they may be used to build small on-chip memories such as queue buffers, where each flip flop stores a single bit of data. Typically each flip flop is implemented with both a master and a slave latch. Therefore, the complexity of a flip flop's structure and the number of transistors within each flip flop impacts various factors in the design and manufacture of an integrated circuit, such as design cost, test cost, and circuit area.

FIG. 1 illustrates one example of a prior art master-slave flip flop 10. Flip flop 10 includes an inverter 12, a transmission gate 14, a master latch 16 (which includes two inverters, one of which is a tri-state inverter), a transmission gate 18, a slave latch 20 (which includes two inverters, one of which is a tri-state inverter), and an inverter 22. The data input (D) of flip flop 10 is provided to an input of inverter 12, and an output of inverter 12 is provided to a first data terminal of transmission gate 14. A second data terminal of transmission gate 14 is coupled to a first node of master latch 16, and a second node of master latch 16 is coupled to a first data terminal of transmission gate 18 and second data terminal of transmission gate 18 is coupled to a first node of slave latch 20, and a second node of slave latch 20 is coupled to an input of inverter 22, and an output of inverter 22 is provided as the data output (Q) of flip flop 10. An inverted control terminal of transmission gate 14 receives a clock signal and a non-inverted control terminal of transmission gate 14 receives an inverted clock signal (which is an inverted version of the clock signal). An inverted control terminal of transmission gate 18 receives the inverted clock signal and a non-inverted control terminal of transmission gate 18 receives the clock signal. Also, an inverted control input of the tri-state inverter of master latch 16 receives the inverted clock signal and the non-inverted control input receives the clock signal. An inverted control input of the tri-state inverter of slave latch 20 receives the clock signal and the non-inverted control input receives the inverted clock signal.

In master-slave flip flop 10, when the clock signal is low (logic level 0), slave latch 20 stores the previous value of D (D_(previous)) and provides this previous value via inverter 22 as Q, and transmission gate 18 is off. Also, when the clock signal is low, master latch is disabled (because the tri-state inverter is disabled) and transmission gate 14 is on. Therefore, the next value of D (D_(next)) is propagated through inverter 12, transmission gate 14, and the enabled inverter of master latch 16. When the clock signal goes high (switches to logic level 1), transmission gate 14 is turned off and master latch 16 is enabled (because the tri-state inverter is again enabled by the clock signal) and latches the next value of D (Dnext). This next value of D is then propagated through transmission gate 18, the enabled inverter of slave latch 20 and inverter 22 and provided as output Q. (Note that slave latch 20 is disabled due to the tri-state inverter of the latch being disabled by the clock signal going high.) Therefore, just prior to a rising edge of the clock, the previous value of D (D_(previous)) is continued to be provided at the output Q, and, at some propagation delay after the rising edge of the clock, the next value of D (D_(next)) is provided at the output Q.

BRIEF DESCRIPTION OF THE DRAWINGS

The present invention is illustrated by way of example and is not limited by the accompanying figures, in which like references indicate similar elements. Elements in the figures are illustrated for simplicity and clarity and have not necessarily been drawn to scale.

FIG. 1 illustrates, in schematic diagram form, a master-slave flip flop in accordance with the prior art.

FIG. 2 illustrates, in schematic diagram form, a flip flop having shared feedback in accordance with one embodiment of the present invention.

FIG. 3 illustrates, in schematic diagram form, the flip flop of FIG. 2 when a clock signal has a first value, in accordance with one embodiment of the present invention.

FIG. 4 illustrates, in schematic diagram form, the flip flop of FIG. 2 when the clock signal has a second value, in accordance with one embodiment of the present invention.

FIG. 5 illustrates, in timing diagram form, various clock signals used with the flip flop of FIG. 2, in accordance with one embodiment of the present invention.

FIG. 6 illustrates, in schematic diagram form, a flip flop having shared feedback in accordance with one embodiment of the present invention.

FIG. 7 illustrates, in schematic diagram form, a flip flop having shared feedback in accordance with one embodiment of the present invention.

FIG. 8 illustrates, in schematic diagram form, the flip flop of FIG. 7 when a clock signal has a first value, in accordance with one embodiment of the present invention.

FIG. 9 illustrates, in schematic diagram form, the flip flop of FIG. 7 when the clock signal has a second value, in accordance with one embodiment of the present invention.

FIG. 10 illustrates, in schematic diagram form, a flip flop having shared feedback in accordance with one embodiment of the present invention.

FIG. 11 illustrates, in schematic diagram form, the flip flop of FIG. 10 when a clock signal has a first value, in accordance with one embodiment of the present invention.

FIG. 12 illustrates, in schematic diagram form, the flip flop of FIG. 10 when the clock signal has a second value, in accordance with one embodiment of the present invention.

DETAILED DESCRIPTION

In one embodiment, a flip flop includes a shared feedback which prevents the need for having separate master and slave latches, but whose behavior still mimics a master-slave flip flop (such as the master-slave flip flop of FIG. 1). That is, in one embodiment, a flip flop includes a shared feedback which is provided to different nodes of the flip flop as controlled by transitions of a clock signal. For example, in one embodiment, a quadrature clock is used to provide two clock/inverted clock pairs where one clock/inverted clock pair is delayed with respect to the other clock/inverted clock pair. The delayed clock/inverted clock pairs can be used to selectively couple the shared feedback path to different circuit nodes.

The terms “assert” or “set” and “negate” (or “deassert” or “clear”) are used herein when referring to the rendering of a signal, status bit, or similar apparatus into its logically true or logically false state, respectively. If the logically true state is a logic level one, the logically false state is a logic level zero. And if the logically true state is a logic level zero, the logically false state is a logic level one. Each signal described herein may be designed as positive or negative logic, where negative logic can be indicated by a bar over the signal name or a “b” following the name. In the case of a negative logic signal, the signal is active low where the logically true state corresponds to a logic level zero. In the case of a positive logic signal, the signal is active high where the logically true state corresponds to a logic level one. Note that any of the signals described herein can be designed as either negative or positive logic signals. Therefore, in alternate embodiments, those signals described as positive logic signals may be implemented as negative logic signals, and those signals described as negative logic signals may be implemented as positive logic signals.

FIG. 2 illustrates clock circuitry 47 and a flip flop 30. Clock circuitry 47 includes inverters 48, 50, 52, and 54. An input of inverter 48 receives a first clock signal, C1, and an output of inverter 48 provides a second clock signal, C1 b, where C1 b is an inverted and delayed version of C1, and where C1 and C1 b together form a pair of complementary clocks. The output of inverter 48 is coupled to an input of inverter 50, and an output of inverter 50 provides a third clock signal, C2, wherein C2 is an inverted and delayed version of C1 b, and where C1 b and C2 also form a pair of complementary clocks. The output of inverter 50 is coupled to an input of inverter 52, and an output of inverter 52 provides a fourth clock signal, C2 b, where C2 b is an inverted and delayed version of C2, and where C2 and C2 b also form a pair of complementary clocks. The output of inverter 52 is coupled to an input of inverter 54, and an output of inverter 54 provides a fifth clock signal, C3, where C3 is an inverted and delayed version of C2 b, and where C2 b and C3 also form a pair of complementary clocks. Note that clock circuitry 47 may be referred to as a quadrature clock generator in which 4 clock signals (C1 b, C2, C2 b, and C3) are generated from a clock signal, C1. FIG. 5 illustrates an example, in timing diagram form, of each of the 5 clock signals, C1, C1 b, C2, C2 b, and C3. Note that complementary clocks C2 and C2 b are delayed (by the propagation delay of 2 inverters) with respect to complementary clocks C1 and C1 b. Similarly, note that complementary clocks C2 b and C3 are delayed (by the propagation delay of 3 inverters) with respect to complementary clocks C1 and C1 b.

As used herein, clocks C1, C2, and C3 are asserted when they are high (a logic level one) and deasserted when they are low (a logic level zero), and clocks C1 b and C2 b are asserted when they are low (a logic level zero) and deasserted when they are high (a logic level one). That is, clock C1, or those clocks whose rising edges are controlled by the rising edges of clock C1 (such as C2 and C3) are asserted when they are high and deasserted when low. Those clocks whose falling edges are controlled by the rising edges of clock C1 (such as C1 b and C2 b) are asserted when they are low and deasserted when high. Also, as used herein, a complementary clock pair is considered asserted when C1 is asserted (if the pair includes C1) or when a clock whose rising edge is controlled by the rising edge of C1 (such as C2 or C3) is asserted. For example, complementary clock pair C1 and C1 b is considered asserted when C1 is a logic level one, and complementary clock pair C2 b and C3 is considered asserted when C3 is a logic level one. Therefore, note that complementary clock pair C2 b and C3 is asserted a delay after pair C1 and C1 b is asserted (where, in the illustrated embodiment, the delay is provided by inverters 48, 50, 52, and 54). In an alternate embodiment, the convention may be changed such that C1, C2, and C3 are asserted when they are low (a logic level zero) and deasserted when they are high (a logic level one), and C1 b and C2 b may be asserted when they are high and deasserted when low.

Referring back to FIG. 2, flip flop 30 includes a data input, D, a data output, Q, an inverter 32, inverter 46, inverter 42, inverter 44, a transmission gate 34, a transmission gate 36, a transmission gate 40, and a transmission gate 38. Data input, D, is coupled to an input of inverter 32, an output of inverter 32 is coupled to a first data terminal of transmission gate 34, and a second data terminal of transmission gate 34 is coupled to a circuit node 35. Control terminals of transmission gate 34 are coupled to receive complementary clocks C2 b and C3, in which an inverted control terminal of transmission gate 34 is coupled to receive clock C3, and a non-inverted control terminal of transmission gate 34 is coupled to receive clock C2 b. Circuit node 35 is coupled to a first data terminal of transmission gate 36 and a second data terminal of transmission gate 36 is coupled to a circuit node 37. Control terminals of transmission gate 36 are coupled to receive complementary clocks C1 and C1 b, in which an inverted control terminal of transmission gate 36 is coupled to receive clock C1 b, and a non-inverted control terminal of transmission gate 36 is coupled to receive clock C1. Circuit node 35 is coupled to a first data terminal of transmission gate 38, and a second data terminal of transmission gate 38 is coupled to a circuit node 39. Control terminals of transmission gate 38 are coupled to receive complementary clocks C2 b and C3, in which an inverted control terminal of transmission gate 38 is coupled to receive clock C2 b, and a non-inverted control terminal of transmission gate 38 is coupled to receive clock C2. Circuit node 37 is coupled to a first data terminal of transmission gate 40, and a second data terminal of transmission gate 40 is coupled to circuit node 39. Control terminals of transmission gate 40 are coupled to receive complementary clocks C1 and C1 b, in which an inverted control terminal of transmission gate 40 is coupled to receive clock C1, and a non-inverted control terminal of transmission gate 40 is coupled to receive clock C1 b. Circuit node 37 is coupled to an input of inverter 46 and to an input of inverter 42. An output of inverter 42 is coupled to an input of inverter 44, and an output of inverter 44 is coupled to circuit node 39. An output of inverter 46 provides data output, Q.

Note that, in alternate embodiments, inverters 42 and 44 can be referred to as inverting elements where any type of inverting element, instead of inverters, may be used. Therefore, any inverter described herein may be referred to as an inverting element in which any type of inverting element including any number of logic gates may be used. Also, note that the data input, D, of flip flop 30 may be located after inverter 32, such as at the first data terminal of transmission gate 34 and the data output, Q, of flip flop 30 may be located at circuit node 37 or at the output of inverter 42. Also, as used herein, when a transmission gate is “on,” it is in a conductive state and thus couples its first data terminal to its second data terminal, and when a transmission gate is “off,” it is in a non-conductive state and thus decouples its first data terminal from its second data terminal. When a transmission gate is on, it may be considered “transparent” to the circuit and when it is off, it may be considered “opaque” to the circuit.

Operation of FIG. 2 will be described in reference to FIGS. 3 and 4 which illustrate the circuit of flip flop 30 when clock C1 is low (at a logic level 0) and when clock C1 is high (at a logic level one), respectively. Note that, as will be described below, inverting element 44 forms a shared feedback path which is provided to either circuit node 37 or 35 as controlled by clocks C1, C1 b, C2 b, and C3 and transmission gates 36, 38, and 40. In this manner, a portion of the storage latch of flip flop 30 formed with inverting elements 42 and 44 is shared between phases of clock C1. That is, as will be described in more detail below, prior to the rising edge of C1, the previous value of D (D_(previous)) will continue to be stored in a storage latch of flip flop 30 formed with inverting elements 42 and 44 and transmission gate 40 and provided as Q, and, at some delay after the rising edge of the clock, the next value of D (D_(next)) is stored in a storage latch of flip flop 30 formed by inverting elements 42 and 44 and transmission gates 38 and 36 and is provided as Q.

FIG. 3 illustrates flip flop 30 during operation when clock C1 is low (and clock C3 is also low). Therefore, referring to FIG. 5, FIG. 3 may correspond to flip flop 30 at a time such as time t1. In FIG. 3, if a transmission gate is off, it is not included in the circuit and is shown as an open space (since the data terminals are decoupled when off), and if a transmission gate is on, it is included in the circuit and is assumed to be in its conductive state. Therefore, in FIG. 3, transmission gates 34 and 40 are on and transmission gates 38 and 36 are off, as controlled by C3, C2 b, C1, and C1 b. That is, at time t1, since C3 is low and C2 b is high, transmission gate 34 is on, and since C1 is low and C1 b is high, transmission gate 40 is on. However, since C2 b is high, C3 is low, C1 is low, and C1 b is high, transmission gates 38 and 36 are off. Therefore, note that storage latch 43, which is formed by inverting elements 42, 44, and transmission gate 40 (when turned on), stores the previous value of D (D_(previous)), such that output Q can provide D_(previous). (Note that storage latch 43 may store D_(previous) or an inverted version of D_(previous).) Also, the next value of D (D_(next)), is propagated through inverter 48 and is “waiting” at the second data terminal of transmission gate 34. However, it does not yet affect the value of Q since transmission gates 38 and 36 are off.

FIG. 4 illustrates flip flop 30 during operation when clock C1 is high (and clock C3 is also high). Therefore, referring to FIG. 5, FIG. 4 may correspond to flip flop 30 at a time such as time t3 (which is illustrated as occurring slightly after the rising edge of C3 following t2). In FIG. 4, if a transmission gate is off, it is not included in the circuit and is shown as an open space (since the data terminals are decoupled when off), and if a transmission gate is on, it is included in the circuit and is assumed to be in its conductive state. Therefore, in FIG. 4, transmission gates 38 and 36 are on and transmission gates 34 and 40 are off, as controlled by C3, C2 b, C1, and C1 b. That is, at time t3, since C3 is high and C2 b is low, transmission gate 38 is on, and since C1 is high and C1 b is low, transmission gate 36 is on. However, since C2 b is low, C3 is high, C1 is high, and C1 b is low, transmission gates 34 and 40 are off. Therefore, note that storage latch 45, which is formed by inverting elements 42, 44, and transmission gates 38 and 36 (when turned on), stores or latches the next value of D (D_(next)) which was “waiting” at the second data terminal of transmission gate 34, such that output Q can provide D_(next). (Note that storage latch 45 may store D_(next) or an inverted version of D_(next).) Also, since transmission gate 34 is off, the data input D is decoupled from storage latch 45. Note that transmission gates 34 and 38 are both controlled by complementary clocks C2 b and C3, and thus are alternately turned on and off, which prevents data contention at circuit node 35.

Note that the next value of D is provided at output Q at some propagation delay after the rising edge of clock C1. For example, in one embodiment, the next value of D is provided at output Q at time t2 (or at time t2+the delay through inverter 46). Note that, at time t2, C1 is high and C1 b is low, thus turning on transmission gate 36. However, at time t2, C3 is still low and C2 b is still high, thus transmission gate 34 is still turned on. Therefore, at this time, the next value of D that is “waiting” at the second data terminal of transmission gate 34 is propagated through transmission gate 34 and inverter 46 to output Q. Transmission gate 34 is not turned off (and transmission gate 38 is not turned on) until time t3, which, in one embodiment, provides sufficient time for the next value of D (D_(next)) to propagate through transmission gate 36, and inverting elements 42 and 44 to circuit node 39. In this manner, the next value of D will properly be latched at time t3 by storage latch 45. Therefore, complementary clocks used to control transmission gates 34 and 38 are delayed by a predetermined delay from the complementary clocks used to control transmission gates 36 and 40. In one embodiment, this predetermined delay is the delay of 3 inverters (inverters 48, 50, and 52); however, in alternate embodiments, complementary clocks C2 and C2 b may be used to control transmission gates 34 and 36 instead, which has a smaller delay with respect to complementary clocks C1 and C1 b, or complementary clocks with a greater delay may be used.

Note that transmission gate 34 actually begins to turn off with the falling edge of clock C2 b prior to time t3; however, it is not until both C2 b is low and C3 goes high at time t3 that it is fully non-conductive for both one's and zero's. That is, for each transmission gate, it may begin to turn on or off when one of its two control signals is at the appropriate level, but is not fully on or fully off until both control signals are at the appropriate level. For example, referring to transmission gates 36 and 40, these gates begin to turn on at the rising edge of C1 or falling edge of C1, respectively, but are not fully turned on until occurrence of the falling edge of C1 b or the rising edge of C1 b, respectively. The same is so for transmission gates 34 and 38 with respect to control signals C2 b and C3.

Therefore, as can be seen in FIGS. 3 and 4, inverting element 44 and transmission gates 38 and 40 provides a shared feedback in that, in the case of FIG. 3, inverting element 44 with transmission gate 40 provides a feedback path to circuit node 37 to form storage latch 43, and in the case of FIG. 4, inverting element 44 with transmission gate 38 provides a feedback path to circuit node 35 to form storage latch 45. In this manner, inverting element 44 and transmission gates 38 and 40 provides a shared feedback for flip flop 30 as controlled by delayed complementary clock pairs (C1/C1 b and C2 b/C3). For example, referring to FIG. 2, inverting element 44 (where this inverting element can be implemented using one or more gates instead of an inverter) provides a shared feedback which has an input coupled to the output of inverting element 42, a first output coupled to circuit node 37 and a second output coupled to circuit node 35. The shared feedback provides an inverting function between the input of the shared feedback (e.g. the input to inverting element 44) and its first output when a first pair of complementary clocks (e.g. clocks C1/C1 b) is deasserted (e.g. when clock C1 of the complementary pair is deasserted or low) since deassertion of pair C1/C1 b turns on transmission gate 40, thus coupling the output of inverting element 44 to circuit node 37. The shared feedback provides an inverting function between the input of the shared feedback (e.g. the input to inverting element 44) and its second output when a second pair of complementary clocks (e.g. clocks C3/C2 b) is asserted (e.g. when clock C3 of the complementary pair is asserted or high) since assertion of pair C3/C2 b turns on transmission gate 38, thus coupling the output of inverting element 44 to circuit node 35.

In alternate embodiments, the delayed complementary clock pairs may be used to control other circuit elements rather than or in addition to transmission gates. For example, the delayed complementary clock pairs may be used as inputs to one or more logic gates used to implement a functionality similar to a transmission gate which selectively alters the feedback path. For example, in an alternate embodiment, inverter 32 and transmission gate 34 can be implemented with a tri-state inverter in which the enable signals of the tri-state inverter can be controlled by clock pair C2 b/C3.

In one embodiment, a method of operating flip flop 30 includes receiving a first data signal, D, at a first node (in which the first node may correspond to the input or output of inverter 32, depending on whether inverter 32 is present in flip flop 30). The first node is coupled to a second node (such as circuit node 35), and after the first node is coupled to the second node, the second node is coupled to a third node (such as circuit node 37) in order to couple the first data signal, D, to the third node. In this manner, note that the value of D can be used to provide the next value of Q. The first node can then be decoupled from the second node (as described, for example, in reference to FIG. 4, in which transmission gate 34 is off) and a first step of latching the first data signal at the third node is performed, wherein this first step of latching is through the second node while the second node is coupled to the third node. For example, this first step of latching may be performed by latch 45. The second node can then be decoupled from the third node (as described, for example, in reference to FIG. 3, in which transmission gate 36 is off) and a second step of latching the first data signal at the third node is performed without using the second node. For example, this second step of latching may be performed by latch 43.

FIG. 6 illustrates a flip flop 60 having a shared feedback path in accordance with one embodiment of the present invention. Note that clock circuitry 47 may also be used to control flip flop 60. Flip flop 60 includes a data input, D, a data output, Q, an inverter 62, inverter 68, inverter 70, a transmission gate 64, a transmission gate 66, P channel transistors 72, 80, and 76, and N channel transistors 74, 78, and 82. Data input, D, is coupled to an input of inverter 62, an output of inverter 62 is coupled to a first data terminal of transmission gate 64, and a second data terminal of transmission gate 64 is coupled to a circuit node 65. Control terminals of transmission gate 64 are coupled to receive complementary clocks C2 b and C3, in which an inverted control terminal of transmission gate 64 is coupled to receive clock C3, and a non-inverted control terminal of transmission gate 64 is coupled to receive clock C2 b. Circuit node 65 is coupled to a first data terminal of transmission gate 66 and a second data terminal of transmission gate 66 is coupled to a circuit node 67. Control terminals of transmission gate 66 are coupled to receive complementary clocks C1 and C1 b, in which an inverted control terminal of transmission gate 66 is coupled to receive clock C1 b, and a non-inverted control terminal of transmission gate 66 is coupled to receive clock C1. Circuit node 67 is coupled to an input of inverter 68 and to an input of inverter 70. An output of inverter 68 provides data output, Q. An output of inverter 70 is coupled to a control electrode (i.e. control gate) of transistor 80 and a control electrode (i.e. control gate) of transistor 82. A first current electrode (e.g. source) of transistor 80 is coupled to a first power supply terminal (e.g. a Vdd power supply terminal or a positive power supply terminal), and a second current electrode (e.g. drain) of transistor 80 is coupled to first current electrodes (e.g. sources) of each of transistors 72 and 76. A second current electrode (e.g. drain) of transistor 76 is coupled to circuit node 67 and to a first current electrode (e.g. drain) of transistor 78. A second current electrode (e.g. drain) of transistor 72 is coupled to circuit node 65 and to a first current electrode (e.g. drain) of transistor 74. Second current electrodes (e.g. sources) of each of transistor 74 and 78 is coupled to a first current electrode (e.g. drain) of transistor 82, and a second current electrode (e.g. source) of transistor 82 is coupled to a second power supply terminal (e.g. a Vss or ground power supply terminal).

Note that the data input, D, of flip flop 60 may be located after inverter 62, such as at the first data terminal of transmission gate 64 and the data output, Q, of flip flop 60 may be located at circuit node 67 or at the output of inverter 70.

In operation, transistors 72, 74, 76, 78, 80 and 82 provide a shared feedback path which is provided from the output of inverting element 70 to either circuit node 67 or 65 as controlled by clocks C1, C1 b, C2 b, and C3, transistors 72, 76, 74, and 78, and transmission gate 66. In this manner, a portion of the storage latch of flip flop 60 formed with transistors 80 and 82 and inverting element 70 is shared between phases of clock C1. For example, prior to the rising edge of C1 (such as at time t1 in FIG. 5), the previous value of D (D_(previous)) will continue to be stored in a storage latch of flip flop 60 formed with inverting element 70 and an inverting element created by transistors 80, 76, 78, and 82 and provided as Q. That is, since C1 is low and C1 b is high, transistors 76 and 78 are on, and since C3 is low and C2 b is high, transistors 72 and 74 are off. (Note that the storage latch may store D_(previous) or an inverted version of D_(previous).) Also, the next value of D (D_(next)), is propagated through inverter 62 and is “waiting” at the second data terminal of transmission gate 64. However, it does not yet affect the value of Q since transmission gate 66 is off and transistors 72 and 74 are off.

Then, at some delay after the rising edge of clock C1, the next value of D (D_(next)), which was “waiting” at the second data terminal of transmission gate 64, is stored in a storage latch of flip flop 60 formed by transmission gate 66, inverting element 70 and an inverting element created by transistors 80, 72, 74, and 82 and is provided as Q. For example, at time t3 (as shown in FIG. 5), since C1 is high and C1 b is low, transistors 76 and 78 are off and transmission gate 66 is on, and since C3 is high and C2 b is low, transistors 72 and 74 are on and transmission gate 64 is off. (Note that storage latch may store D_(next) or an inverted version of D_(next).) Also, since transmission gate 64 is off, the data input D is decoupled from the storage latch of flip flop 60. Note that transmission gate 64 and transistors 72 and 74 are both controlled by complementary clocks C2 b and C3, and thus are alternately turned on and off, which prevents data contention at circuit node 65.

Note that the next value of D is provided at output Q at some propagation delay after the rising edge of clock C1. For example, in one embodiment, the next value of D is provided at output Q at time t2 (or at time t2+the delay through inverter 68). Note that, at time t2, C1 is high and C1 b is low, thus turning on transmission gate 66. However, at time t2, C3 is still low and C2 b is still high, thus transmission gate 64 is still turned on. Therefore, at this time, the next value of D that is “waiting” at the second data terminal of transmission gate 64 is propagated through transmission gate 64 and inverter 68 to output Q. Transmission gate 64 is not turned off (and transistors 72 and 74 are not turned on) until time t3, which, in one embodiment, provides sufficient time for the next value of D (D_(next)) to propagate through transmission gate 66, and inverting elements 70, and the inverting element formed by transistors 72 and 74. In this manner, the next value of D will properly be latched at time t3 by the storage latch of flip flop 60. Therefore, complementary clocks used to control transmission gate 64 and transistors 72 and 74 are delayed by a predetermined delay from the complementary clocks used to control transmission gate 66 and transistors 76 and 78. In one embodiment, this predetermined delay is the delay of 3 inverters (inverters 48, 50, and 52); however, in alternate embodiments, complementary clocks C2 and C2 b may be used to control transmission gates 64 and 66 instead, which has a smaller delay with respect to complementary clocks C1 and C1 b, or complementary clocks with a greater delay may be used.

Therefore, referring to FIG. 6, a shared feedback may have an input coupled to the output of inverting element 70 (where this inverting element can be implemented using one or more gates instead of an inverter) and a first output coupled to a first circuit node (e.g. node 67) and a second output coupled to a second circuit node (e.g. node 65) The shared feedback provides an inverting function between the input of the shared feedback (e.g. the output of inverting element 70) and its first output when a first pair of complementary clocks (e.g. clocks C1/C1 b) is deasserted (e.g. when clock C1 of the complementary pair is deasserted or low) since deassertion of pair C1/C1 b turns on transistors 76 and 78. For example, the first output provides an inversion of the signal present on the output of inverting element 70 when the first pair of complementary clocks is deasserted. The shared feedback provides an inverting function between the input of the shared feedback (e.g. the output of inverting element 70) and its second output when a second pair of complementary clocks (e.g. clocks C3/C2 b) is asserted (e.g. when clock C3 of the complementary pair is asserted or high) since assertion of pair C3/C2 b turns on transistors 72 and 74. For example, the second output provides an inversion of the signal present on the output of inverting element 70 when the second pair of complementary clocks is asserted.

In alternate embodiments, the delayed complementary clock pairs may be used to control other circuit elements rather than or in addition to transmission gates. For example, the delayed complementary clock pairs may be used as inputs to one or more logic gates used to implement a functionality similar to a transmission gate which selectively alters the feedback path. For example, in an alternate embodiment, inverter 62 and transmission gate 64 can be implemented with a tri-state inverter in which the enable signals of the tri-state inverter can be controlled by clock pair C2 b/C3.

In one embodiment, a method of operating flip flop 60 includes receiving a first data signal, D, at a first node (in which the first node may correspond to the input or output of inverter 62, depending on whether inverter 62 is present in flip flop 60). The first node is coupled to a second node (such as circuit node 65), and after the first node is coupled to the second node, the second node is coupled to a third node (such as circuit node 67) in order to couple the first data signal, D, to the third node. In this manner, note that the value of D can be used to provide the next value of Q. The first node can then be decoupled from the second node (such as when transmission gate 64 is off) and a first step of latching the first data signal at the third node is performed, wherein this first step of latching is through the second node while the second node is coupled to the third node (such as by transmission gate 66 being on, transistors 74 and 72 being on, and transistors 76 and 78 being off). The second node can then be decoupled from the third node (such as when transmission gate 66 is off) and a second step of latching the first data signal at the third node is performed without using the second node (such as by transistors 76 and 78 being on and transistors 72 and 74 being off).

FIG. 7 illustrates clock circuitry 47 (which was described above in reference to FIGS. 2 and 5) and a flip flop 100. Flip flop 100 includes a data input, D, a data output, Q, an inverter 102, an inverter 114, an inverter 112, a tri-state inverter 108, a tri-state inverter 113, a transmission gate 104, and a transmission gate 110. Data input, D, is coupled to an input of inverter 102, an output of inverter 102 is coupled to a first data terminal of transmission gate 104, and a second data terminal of transmission gate 104 is coupled to a circuit node 105. Control terminals of transmission gate 104 are coupled to receive complementary clocks C2 b and C3, in which an inverted control terminal of transmission gate 104 is coupled to receive clock C3, and a non-inverted control terminal of transmission gate 104 is coupled to receive clock C2 b. Circuit node 105 is coupled to a first data terminal of transmission gate 110 and a second data terminal of transmission gate 110 is coupled to a circuit node 111. Control terminals of transmission gate 110 are coupled to receive complementary clocks C1 b and C2, in which an inverted control terminal of transmission gate 110 is coupled to receive clock C1 b, and a non-inverted control terminal of transmission gate 110 is coupled to receive clock C2. Circuit node 105 is coupled to a data input of tri-state inverter 108 and a data output of tri-state inverter 108 is coupled to a circuit node 109. Control terminals of tri-state inverter 108 are coupled to receive complementary clocks C1 b and C2, in which an inverted control terminal of tri-state inverter 108 is coupled to receive clock C1 b, and a non-inverted control terminal of tri-state inverter 108 is coupled to receive clock C2. An input of inverter 112 is coupled to circuit node 109 and an output of inverter 112 is coupled to circuit node 111. Circuit node 111 is coupled to an input of inverter 114 and to a data input of tri-state inverter 113. A data output of tri-state inverter 113 is coupled to circuit node 109. Control terminals of tri-state inverter 113 are coupled to receive complementary clocks C2 and C1 b, in which an inverted control terminal of tri-state inverter 113 is coupled to receive clock C2, and a non-inverted control terminal of tri-state inverter 113 is coupled to receive clock C1 b. An output of inverter 114 provides data output, Q.

Note that, in alternate embodiments, inverters 102, 112, and 114 can be referred to as inverting elements where any type of inverting element, instead of inverters, may be used. Therefore, any inverter described herein may be referred to as an inverting element in which any type of inverting element including any number of logic gates may be used. Furthermore, other elements or combination of elements may be used in place of tri-state inverters 108 and 113. For example, an inverting element in combination with a transmission gate may be used in place of a tri-state inverter. Also, note that the data input, D, of flip flop 100 may be located after inverter 102, such as at the first data terminal of transmission gate 104 and the data output, Q, of flip flop 100 may be located at circuit node 111 or at the output of inverter 112.

Operation of FIG. 7 will be described in reference to FIGS. 8 and 9 which illustrate the circuit of flip flop 100 when clock C1 is low (at a logic level 0) and when clock C1 is high (at a logic level one), respectively. Note that, as will be described below, inverting element 112 forms a shared feedback path which is provided to between circuit node 109 and 111. In this manner, a portion of the storage latch of flip flop 100 formed with inverting element 112 is shared between phases of clock C1. That is, as will be described in more detail below, prior to the rising edge of C1, the previous value of D (D_(previous)) will continue to be stored in a storage latch (i.e. slave latch 116) of flip flop 100 formed with inverting element 112 and tri-state inverter 113 (with C1 b asserted and C2 negated) and provided as Q, and, at some delay after the rising edge of the clock C1, the next value of D (D_(next)) is stored in a storage latch (i.e. master latch 118) of flip flop 100 formed by inverting element 112, tri-state inverter 108 (with C2 asserted and C1 b negated), and transmission gate 110 and is provided as Q.

FIG. 8 illustrates flip flop 100 during operation when clock C1 is low (and clock C3 is also low). Therefore, referring to FIG. 5, FIG. 8 may correspond to flip flop 100 at a time such as time t1. In FIGS. 8 and 9, if a transmission gate is off, it is not included in the circuit and is shown as an open space (since the data terminals are decoupled when off), and if a transmission gate is on, it is included in the circuit and is assumed to be in its conductive state. Similarly, if a tri-state inverter is disabled (meaning its inverted control input is asserted or a logic level high and its non-inverted control terminal is negated or a logic level low), then its data output becomes a high impedance and is therefore decoupled from the circuit. Therefore, in FIGS. 8 and 9, when a tri-state inverter is not enabled, its output connection is removed from the circuit to illustrate that it is decoupled from the circuit. Therefore, in FIG. 8, transmission gate 104 is on, tri-state inverter 108 is disabled, and tri-state inverter 113 is enabled, as controlled by C2 b, C3, C1 b, and C2. That is, at time t1, since C3 is low and C2 b is high, transmission gate 104 is on, and since C2 is low and C1 b is high, tri-state inverter 113 is enabled. However, since C2 is low and C1 b is high, tri-state inverter 108 is disabled. Therefore, note that storage latch 116, which is formed by inverting element 112 and tri-state inverter 113 (when enabled), stores the previous value of D (D_(previous)), such that output Q can provide D_(previous). (Note that storage latch 116 may store D_(previous) or an inverted version of D_(previous).) Also, the next value of D (D_(next)), is propagated through transmission gate 104 and is “waiting” at circuit node 105. However, it does not yet affect the value of Q since transmission gate 110 is off and tri-state inverter 108 is disabled.

FIG. 9 illustrates flip flop 100 during operation when clock C1 is high (and clock C3 is also high). Therefore, referring to FIG. 5, FIG. 9 may correspond to flip flop 100 at a time such as time t3 (which is illustrated as occurring slightly after the rising edge of C3 following t2). A time t3, transmission gate 110 is on, transmission gate 104 is off, tri-state inverter 108 is enabled, and tri-state inverter 113 is disabled, as controlled by C2 b, C3, C2, C1 b. That is, at time t3, since C2 is high and C1 b is low, transmission gate 110 is on, tri-state inverter 108 is enabled, and tri-state inverter 113 is disabled, and since C3 is high and C2 b is low, transmission gate 104 is off. Therefore, note that storage latch 118, which is formed by inverting element 112, tri-state inverter 108 (when enabled), and transmission gate 110 (when turned on), stores or latches the next value of D (D_(next)) which was “waiting” at circuit node 105, such that output Q can provide D_(next). (Note that storage latch 118 may store D_(next) or an inverted version of D_(next).) Also, since transmission gate 104 is off, the data input D is decoupled from storage latch 118. Note that tri-state inverter 113 and tri-state inverter 108 are both controlled by complementary clocks C1 b and C2, and thus are alternately turned on and off, which prevents data contention at circuit node 109. Therefore, in the illustrated embodiment, inverting element 113 is clocked inversely to that of inverting element 108. Also, note that, in the illustrated embodiment, transmission gate 110 is clocked by complementary clock signals C2 and C1 b, and inverting element 113 is clocked by complementary clock signals C2 and C1 b in an inverse fashion to the clocking of transmission gate 110.

Note that the next value of D is provided at output Q at some propagation delay after the rising edge of clock C1. For example, in one embodiment, the next value of D is provided at output Q at time t4 (or at time t4+the delay through inverter 114). Note that, at time t4, C1 b is low and C2 is high, thus turning on transmission gate 110. However, at time t4, C2 b is still high and C3 is still low, thus transmission gate 104 is still turned on. Therefore, at this time, the next value of D that is “waiting” at circuit node 105 is propagated through transmission gate 110 and inverter 114 to output Q. Transmission gate 104 is not turned off until time t3. In this manner, the next value of D will properly be latched at time t3 by storage latch 118.

Therefore, as can be seen in FIGS. 8 and 9, inverting element 112 provides a shared feedback in that, in the case of FIG. 8, inverting element 112 with tri-state inverter 113 provides a feedback path to circuit node 111 to form storage latch 116, and in the case of FIG. 9, inverting element 112 with transmission gate 110 and tri-state inverter 108 provides a feedback path to circuit node 111 to form storage latch 118. In this manner, inverting element 112 (and nodes 109 and 111) provide a shared feedback for flip flop 100 as controlled by delayed complementary clock pairs (C1 b/C2 and C2 b/C3). This shared feedback may also be referred to as a shared data path or a shared latching portion.

In one embodiment, a method of operating flip flop 100 includes receiving a first data signal, D, at a first node (in which the first node may correspond to the input or output of inverter 102, depending, for example, on whether inverter 102 is present in flip flop 100). The first node is coupled to a second node (such as circuit node 105), and after the first node is coupled to the second node, an inversion from the second node to a third node (such as circuit node 109) is enabled (such as by enabling inverting element 108). An inversion can be provided from the third node to a fourth node (such as circuit node 111). After enabling the inversion from the second node to the third node (from node 105 to node 109), the first node is decoupled from the second node (by, for example, turning off transmission gate 104) and the second node is coupled to the fourth node (by, for example, turning on transmission gate 110) An inversion is enabled from the fourth node (e.g. node 111) to the third node (e.g. node 109), such as when C1 b goes high again and C2 goes low. Also, with C1 b high and C2 low, the second node (e.g. node 105) is decoupled from the fourth node (e.g. node 111).

FIG. 10 illustrates clock circuitry 151 and a flip flop 150. Clock circuitry 151 includes inverters 152, 154, and 156. An input of inverter 152 receives a first clock signal, C1, and an output of inverter 152 provides a second clock signal, C1 b, where C1 b is an inverted and delayed version of C1, and where C1 and C1 b together form a pair of complementary clocks. The output of inverter 152 is coupled to an input of inverter 154, and an output of inverter 154 provides a third clock signal, C2, wherein C2 is an inverted and delayed version of C1 b, and where C1 b and C2 also form a pair of complementary clocks. The output of inverter 154 is coupled to an input of inverter 156, and an output of inverter 156 provides a fourth clock signal, C2 b, where C2 b is an inverted and delayed version of C2, and where C2 and C2 b also form a pair of complementary clocks. Clocks C1, C1 b, C2, C2 b are analogous to clocks C1, C1 b, C2, and C2 b described above in reference to clock circuitry 47 and FIG. 5. Therefore, the descriptions provided above with respect to clocks C1, C1 b, C2, and C2 b continue to apply here for FIGS. 10-12. However, in the embodiment of FIGS. 10-12, the fifth clock, C3 is not needed. Therefore, in one embodiment, clock circuitry 47 may be used in place of clock circuitry 151, where clock C3 may not be used.

Referring to FIG. 10, flip flop 150 includes a data input, D, a data output, Q, a transmission gate 130, a transmission gate 132, a logic circuit 140, an inverter 142, and an inverter 144. Data input, D, is coupled to a first data terminal of transmission gate 130, and a second data terminal of transmission gate 130 is coupled to a circuit node 131. Control terminals of transmission gate 130 are coupled to receive complementary clocks C2 b and C2, in which an inverted control terminal of transmission gate 130 is coupled to receive clock C2, and a non-inverted control terminal of transmission gate 130 is coupled to receive clock C2 b. Circuit node 131 is coupled to a first data terminal of transmission gate 132, and a second terminal of transmission gate 132 is coupled to a circuit node 133. Control terminals of transmission gate 132 are coupled to receive complementary clocks C2 and C2 b, in which an inverted control terminal of transmission gate 132 is coupled to receive clock C2 b, and a non-inverted control terminal of transmission gate 132 is coupled to receive clock C2. A first input of logic circuit 140 is coupled to node 131 and a second input of logic circuit is coupled to node 133. a third and a fourth input of logic circuit 140 are coupled to receive complementary clocked inputs C1 and C1 b, respectively. An output of logic circuit 140 is coupled to a circuit node 141. An input of inverter 142 is coupled to circuit node 141 and an output of inverter 142 provides the data output, Q. An input of inverter 144 is coupled to circuit node 141 and an output of inverter 144 is coupled to circuit node 133.

Logic circuit 140 includes a first AND circuit 134, a second AND circuit 136, and a NOR circuit 138. Each of AND circuit 134, AND circuit 136, and NOR circuit 134 can be implemented as an AND gate, an AND gate, and a NOR gate, respectively. Logic circuit 140 can be implemented either as a combination of discrete gates (such as gates 134, 136, and 138) or, alternatively, as a complex logic gate with a common output node 141. In other embodiments, any circuitry may be used to implement the logical equivalence of logic circuit 140. A first input of AND gate 134 is coupled to receive clock C1, a second input of AND gate 134 is coupled to circuit node 131, and an output of AND gate 134 is coupled to a first input of NOR gate 138. A first input of AND gate 136 is coupled to receive clock C1 b, a second input of AND gate 136 is coupled to circuit node 133, and an output of AND gate 136 is coupled to a second input of NOR gate 138. An output of NOR gate 138 is coupled to circuit node 141. Therefore, the inputs of AND gates 134 and 136 correspond to the inputs of logic circuit 140 and the output of NOR gate 138 corresponds to the output of logic circuit 140.

Note that, in alternate embodiments, inverters 142 and 144 can be referred to as inverting elements where any type of inverting element, instead of inverters, may be used. Therefore, any inverter described herein may be referred to as an inverting element in which any type of inverting element including any number of logic gates may be used. Furthermore, other elements or combination of elements may be used in place of transmission gates 130 and 132. Also, note that the data output, Q, of flip flop 150 may be located at circuit node 141 or at the output of inverter 142.

Operation of FIG. 10 will be described in reference to FIGS. 11 and 12 which illustrate the circuit of flip flop 150 when clock C1 is low (at a logic level 0) and when clock C1 is high (at a logic level one), respectively. Note that, as will be described below, logic circuit 140 allows for a shared feedback path to include inverting element 144 and either circuit node 133 (without circuit node 131) or both circuit nodes 133 and 131. In one embodiment, logic circuit 140 uses complementary clocks C1 and C1 b to select one of circuit node 131 or circuit node 133, inverts the value at the selected circuit node, and provides it to circuit node 141. A portion of the storage latch of flip flop 150 formed with inverting element 144 and logic circuit 140 is shared between phases of clock C1. That is, as will be described in more detail below, prior to the rising edge of C1, the previous value of D (D_(previous)) will continue to be stored in a storage latch (i.e. slave latch 146) of flip flop 150 formed with inverting element 144 and circuit node 133 (with C1 b asserted and C2 negated) and provided, via inverter 142, as Q, and, at some delay after the rising edge of the clock C1, the next value of D (D_(next)) is stored in a storage latch (i.e. master latch 148) of flip flop 150 formed by inverting element 144, transmission gate 132 (with C2 asserted and C2 b negated), and circuit nodes 133 and 131 (with C1 asserted and C1 b negated) and is provided, via inverting element 142, as Q.

FIG. 11 illustrates flip flop 150 during operation when clock C1 is low (and clock C3 is also low). Therefore, referring to FIG. 5, FIG. 11 may correspond to flip flop 150 at a time such as time t1. In FIGS. 11 and 12, if a transmission gate is off, it is not included in the circuit and is shown as an open space (since the data terminals are decoupled when off), and if a transmission gate is on, it is included in the circuit and is assumed to be in its conductive state. Therefore, in FIG. 11, transmission gate 130 is on and transmission gate 132 is off, as controlled by C2 b and C2. That is, at time t1, since C2 is low and C2 b is high, transmission gate 130 is on and transmission gate 132 is off. Also, at time t1, C1 is low and C1 b is high. Therefore, logic circuit 140 propagates the value of circuit node 133 to circuit node 141, where circuit node 141 receives an inverted version of the value at circuit node 133. Because C1 is low, the first input of NOR gate 138 is also a logic level 0, and because C1 b is high, the second input of NOR gate 138 is the same as the value at the second input of AND gate 136 (which is coupled to circuit node 133). The output of NOR gate 138 thus provides an inverted version of the value present at circuit node 133. Therefore, note that storage latch 146, which is formed by inverting element 144, circuit node 133, and logic circuit 140, stores an inverted version of the previous value of D (D_(previous)), such that output Q (at the output of inverting element 142) can provide D_(previous). (Note that storage latch 146 stores an inverted version of D_(previous) but alternately, may store D_(previous).) Also, the next value of D (D_(next)), is propagated through transmission gate 130 and is “waiting” at circuit node 131. However, it does not yet affect the value of Q since AND gate 134 is disabled (by the low value of C1) and logic circuit 140 selects the value at circuit node 133, rather than at circuit node 131, to propagate through to circuit node 141.

FIG. 12 illustrates flip flop 150 during operation when clock C1 is high (and clock C3 is also high). Therefore, referring to FIG. 5, FIG. 11 may correspond to flip flop 150 at a time such as time t3 (which is illustrated as occurring slightly after the rising edge of C3 following t2). A time t3, transmission gate 130 is off and transmission gate 132 is on, as controlled by C2 b and C2. That is, at time t3, since C2 is high and C2 b is low, transmission gate 132 is on and transmission gate 130 is off. Also, at time t3, C1 is high and C1 b is low. Therefore, logic circuit 140 propagates the value of circuit node 131 to circuit node 141, where circuit node 141 receives an inverted version of the value at circuit node 131. Because C1 b is low, the second input of NOR gate 138 is also a logic level 0, and because C1 is high, the first input of NOR gate 138 is the same as the value at the second input of AND gate 134 (which is coupled to circuit node 131). The output of NOR gate 138 thus provides an inverted version of the value present at circuit node 131. Therefore, note that storage latch 148, which is formed by inverting element 144, circuit node 133, transmission gate 132, circuit node 131, and logic circuit 140, stores an inverted version of the previous value of D (D_(previous)), such that output Q (at the output of inverting element 142) can provide D_(previous). (Note that storage latch 148 stores an inverted version of D_(previous) but alternately, may store D_(previous).) Also, since transmission gate 130 is off, the data input D is decoupled from storage latch 148. Note that transmission gates 130 and 132 are both controlled by complementary clocks C1 b and C2, and thus are alternately turned on and off, which prevents data contention at circuit node 131.

Therefore, as can be seen in FIGS. 11 and 12, inverting element 144 and logic circuit 140 provides a shared feedback in that, in the case of FIG. 11, the shared feedback path includes circuit node 133 and excludes circuit node 131 and includes logic circuit 140 to form storage latch 146, and in the case of FIG. 12, the shared feedback path includes circuit nodes 133 and 131, transmission gate 132 and logic circuit 140 to form storage latch 148. In this manner, logic circuit 140 helps provide a shared feedback for flip flop 150 as controlled by complementary clock pair C1 and C1 b. This shared feedback may also be referred to as a shared data path or a shared latching portion.

In one embodiment, a method of operating flip flop 150 includes receiving a first data signal, D, at a first node. The first node is coupled to a second node (such as circuit node 131), and after the first node is coupled to the second node, an inversion from the second node to a third node (such as circuit node 141) is enabled, such as via AND gate 134 and NOR gate 138 of logic circuit 140 (when, e.g., C1 goes high and C1 b goes low). An inversion can be provided (such as by inverter 144) from the third node to a fourth node (such as circuit node 133). After enabling the inversion from the second node to the third node (from node 131 to node 141), the first node is decoupled from the second node (by, for example, turning off transmission gate 130) and the second node is coupled to the fourth node (by, for example, turning on transmission gate 132). An inversion is enabled from the fourth node (e.g. node 133) to the third node (e.g. 141), such as via AND gate 136 and NOR gate 138 of logic circuit 140 (when, e.g., C1 goes low and C1 b goes high). The second node (e.g. node 131) may then be decoupled from the fourth node (e.g. node 133).

By now it should be appreciated that there has been provided various flip flops with shared feedback where a portion of the storage latch of the flip flop can be shared between phases of the clock. In this manner, the functionality of a master-slave flip flop can be achieved, possibly with reduced transistors. For example, a typically master-slave flip flop, as shown in FIG. 1, includes 16 transistors. However, flip flop 100 includes only 14 transistors (note that the inverters coupled to D or Q are not counted in these counts since they may or may not be present). While, for a typical master-slave flip flop, a single pair of complementary clocks may be used to control the transmission gates of the flip flop, for flip flops 100 or 150, various pairs of complementary clocks, delayed from each other, are used to control the data paths of the flip flop. Therefore, the clock circuitry used for flip flops 100 or 150 may use additional transistors as compared to the number of transistors needed in the generation of a single pair of complementary clocks. However, in the case of small on-chip memories which use numerous flip flops, the clock circuitry (such as clock circuitry 47) can be shared among multiple flip flops, thus possibly achieving a reduced transistor count and thus reduced area as compared to using traditional master-slave flip flops for the on-chip memory. Also, note that the number of inverter stages in clock circuitry 47 is not limited to the number of inverter stages described and can be different, as required during the implementation. Furthermore, flip flops 100 and 150, because they can emulate the behavior of a traditional master-slave flip flop, they can be used in scan testing. For example, as known in the art, the input D can be a multiplexed input coupled to receive data from other circuits in normal operating mode and coupled to receive test data during scan testing. In this manner, an on-chip memory built with flip flops such as flip flops 100 or 150 can easily be tested as well.

Because the apparatus implementing the present invention is, for the most part, composed of electronic components and circuits known to those skilled in the art, circuit details will not be explained in any greater extent than that considered necessary as illustrated above, for the understanding and appreciation of the underlying concepts of the present invention and in order not to obfuscate or distract from the teachings of the present invention.

Although the invention has been described with respect to specific conductivity types or polarity of potentials, skilled artisans appreciated that conductivity types and polarities of potentials may be reversed.

Moreover, the terms “front,” “back,” “top,” “bottom,” “over,” “under” and the like in the description and in the claims, if any, are used for descriptive purposes and not necessarily for describing permanent relative positions. It is understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments of the invention described herein are, for example, capable of operation in other orientations than those illustrated or otherwise described herein.

Although the invention is described herein with reference to specific embodiments, various modifications and changes can be made without departing from the scope of the present invention as set forth in the claims below. For example, other logic gate configurations can be used in place of transmission gates or other logic gate configurations can be used to implement inverting elements. Accordingly, the specification and figures are to be regarded in an illustrative rather than a restrictive sense, and all such modifications are intended to be included within the scope of the present invention. Any benefits, advantages, or solutions to problems that are described herein with regard to specific embodiments are not intended to be construed as a critical, required, or essential feature or element of any or all the claims.

The term “coupled,” as used herein, is not intended to be limited to a direct coupling or a mechanical coupling.

Furthermore, the terms “a” or “an,” as used herein, are defined as one or more than one. Also, the use of introductory phrases such as “at least one” and “one or more” in the claims should not be construed to imply that the introduction of another claim element by the indefinite articles “a” or “an” limits any particular claim containing such introduced claim element to inventions containing only one such element, even when the same claim includes the introductory phrases “one or more” or “at least one” and indefinite articles such as “a” or “an.” The same holds true for the use of definite articles.

Unless stated otherwise, terms such as “first” and “second” are used to arbitrarily distinguish between the elements such terms describe. Thus, these terms are not necessarily intended to indicate temporal or other prioritization of such elements.

The following are various embodiments of the present invention.

Item 1 includes a method of operating a circuit including receiving a first data signal at a first node; coupling the first node to a second node to couple the first data signal to the second node; after coupling the first node to the second node, enabling an inversion from the second node to a third node; providing an inversion from the third node to a fourth node; after the enabling the inversion from the second node to the third node, decoupling the first node from the second node; after the enabling the inversion from the second node to the third node, coupling the second node to the fourth node; enabling an inversion from the fourth node to the third node; and decoupling the second node from the fourth node. Item 2 includes the method of item 1 and further includes disabling the inversion from the second node to the third node when the enabling the inversion from the fourth node to the third is occurring. Item 3 includes the method of item 2, wherein the decoupling the second node from the fourth node is after the enabling the inversion from the fourth node to the third node is occurring. Item 4 includes the method of item 3, and further includes coupling the first node to the second node after the decoupling the second node from the fourth node. Item 5 includes the method of item 3, and further includes coupling the first node to the second node after the enabling the inversion from the fourth node to the third node. Item 6 includes the method of item 5 and further includes disabling the inversion from the fourth node to the third node after the coupling the first node to the second node after the enabling the inversion from the fourth node to the third node. Item 7 includes the method of item 1, wherein the coupling the first node to the second node is complementary to the coupling of the second node to the fourth node. Item 8 includes the method of item 1, wherein the enabling the inversion of the second node to the third node is after the coupling the second node to the fourth node. Item 9 includes the method of item 8, wherein the enabling the inversion from the fourth node to the third node occurs after the step of decoupling the second node to the fourth node. Item 10 includes the method of item 8, wherein the steps of enabling the inversion from the fourth node to the third node and enabling the inversion from the second node to the third node are provided through a logic circuit.

Item 11 includes a circuit including a first transmission gate having a first terminal coupled to a first node and a second terminal coupled to a second node; a first inverting element being clocked and having an input coupled to the second node and an output coupled to a third node; a second transmission gate having a first terminal coupled to the second node and a second terminal coupled to a fourth node; a second inverting element having an input coupled to the third node and an output coupled to the fourth node; and a third inverting element being clocked inversely to that of the second inverting element and having an input coupled to the fourth node and an output coupled to the third node. Item 12 includes the circuit of item 11 and further includes an output circuit having an input coupled to the fourth node and an output for providing an output signal. Item 13 includes the circuit of item 11, wherein the first transmission gate becomes conductive prior to the second transmission gate becoming conductive. Item 14 includes the circuit of item 11, wherein the first transmission gate is clocked by first complementary clock signals and the second transmission gate and the first inverting element are clocked by second complementary signals. Item 15 includes the circuit of item 14, wherein the third inverting element is clocked by the second complementary clock signals in inverse fashion to the clocking of the second transmission gate and the first inverting element.

Item 16 includes a circuit including a first transmission gate having a first terminal coupled to a first node and a second terminal coupled to a second node; a first inverting element having an input coupled to a third node and an output coupled to a fourth node; a second transmission gate having a first terminal coupled to the second node and a second terminal coupled to the fourth node; and a logic circuit having a first input coupled to the second node, a second input coupled to the fourth node, complementary clocked inputs for selecting one of the first and second inputs, and an output coupled to the third node, wherein the selected input is inverted and provided on the output to the third node. Item 17 includes the circuit of item 16, wherein the logic circuit has a logic equivalence which includes: a first AND circuit having an input as the first input of the logic circuit coupled to the second node, a second input for receiving a true clock input, and an output; a second AND circuit having an input as the second input of the logic circuit coupled to the fourth node, a second input for receiving an inverse clock input, and an output; and a NOR circuit having a first input coupled to the output of the first AND circuit, a second input coupled to the output of the second AND circuit, and an output as the output of the logic circuit coupled to the third node. Item 18 includes the circuit of item 16, wherein the first transmission gate is clocked by a first pair of complementary clock signals; and the second transmission gate is clocked inversely to the first transmission gate. Item 19 includes the circuit of item 18, wherein the complementary clocked inputs of the logic circuit are clocked by a second pair of complementary clocks. Item 20 includes the circuit of item 19, wherein the first transmission gate is conductive to couple an input signal from the first node to the second node; the logic circuit is to invert the input signal and provide an inverted input signal on the third node when the first input of the logic circuit is selected; the first inverting element is to provide an inversion from the third node to the fourth node; the second transmission gate is conductive to couple the third node to the second node when the first transmission gate is non-conductive; and the logic circuit is to provide an inversion from the fourth node to the third node when the second input of the logic circuit is selected. 

What is claimed is:
 1. A method of operating a circuit, comprising: receiving a first data signal at a first node; coupling the first node to a second node to couple the first data signal to the second node; after coupling the first node to the second node, enabling an inversion from the second node to a third node; providing an inversion from the third node to a fourth node; after the enabling the inversion from the second node to the third node, decoupling the first node from the second node; after the enabling the inversion from the second node to the third node, coupling the second node to the fourth node; enabling an inversion from the fourth node to the third node; and decoupling the second node from the fourth node.
 2. The method of claim 1, further comprising: disabling the inversion from the second node to the third node when the enabling the inversion from the fourth node to the third is occurring.
 3. The method of claim 2, wherein: the decoupling the second node from the fourth node is after the enabling the inversion from the fourth node to the third node is occurring.
 4. The method of claim 3, further comprising: coupling the first node to the second node after the decoupling the second node from the fourth node.
 5. The method of claim 3, further comprising: coupling the first node to the second node after the enabling the inversion from the fourth node to the third node.
 6. The method of claim 5, further comprising: disabling the inversion from the fourth node to the third node after the coupling the first node to the second node after the enabling the inversion from the fourth node to the third node.
 7. The method of claim 1, wherein the coupling the first node to the second node is complementary to the coupling of the second node to the fourth node.
 8. The method of claim 1, wherein the enabling the inversion of the second node to the third node is after the coupling the second node to the fourth node.
 9. The method of claim 8, wherein the enabling the inversion from the fourth node to the third node occurs after the step of decoupling the second node to the fourth node.
 10. The method of claim 8 wherein the steps of enabling the inversion from the fourth node to the third node and enabling the inversion from the second node to the third node are provided through a logic circuit.
 11. A circuit, comprising: a first transmission gate having a first terminal coupled to a first node and a second terminal coupled to a second node; a first inverting element being clocked and having an input coupled to the second node and an output coupled to a third node; a second transmission gate having a first terminal coupled to the second node and a second terminal coupled to a fourth node; a second inverting element having an input coupled to the third node and an output coupled to the fourth node; and a third inverting element being clocked inversely to that of the second inverting element and having an input coupled to the fourth node and an output coupled to the third node.
 12. The circuit of claim 11, further comprising an output circuit having an input coupled to the fourth node and an output for providing an output signal.
 13. The circuit of claim 11, wherein the first transmission gate becomes conductive prior to the second transmission gate becoming conductive.
 14. The circuit of claim 11, wherein the first transmission gate is clocked by first complementary clock signals and the second transmission gate and the first inverting element are clocked by second complementary signals.
 15. The circuit of claim 14, wherein the third inverting element is clocked by the second complementary clock signals in inverse fashion to the clocking of the second transmission gate and the first inverting element. 